--[[
Copyright 2013-2014 nanpuyue <nanpuyue@gmail.com>

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

	http://www.apache.org/licenses/LICENSE-2.0
]]--

module("luci.controller.ccnu", package.seeall)

function index()
	if not nixio.fs.access("/etc/config/ccnu") then
		return
	end

	local page = entry({"admin", "network", "ccnu"}, cbi("ccnu", {autoapply=true}), "校园网", 30)
	page.dependent = true

end
